package cn.lx;

/**
 * @author lixin
 * @Classname ConcreteCommand2
 * @Description 具体的命令
 * @Date 2019/10/7 上午10:38
 */
public class ConcreteCommand2 extends Command {
    private Receiver receiver;

    public ConcreteCommand2(Receiver _receiver) {
        this.receiver = _receiver;
    }


    @Override
    public void execute() {
        this.receiver.doSomething();
    }
}
